package com.nauu.atombuilder.editors;

import org.eclipse.ui.IFolderLayout;
import org.eclipse.ui.IPageLayout;
import org.eclipse.ui.IPerspectiveFactory;

public class Perspective implements IPerspectiveFactory {

	/**
	 * The ID of the perspective as specified in the extension.
	 */
	public static final String ID = "test.perspective";

	public void createInitialLayout(IPageLayout layout) {
		 final String properties ="org.eclipse.ui.views.PropertySheet";
	       final String editArea  = layout.getEditorArea();
	       IFolderLayout leftLayout = layout.createFolder("LeftTop", IPageLayout.BOTTOM, 0.28f, editArea);
	       leftLayout.addView(properties);
	       layout.setEditorAreaVisible(true);
	}
}
